﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CoreGallery.Addins.Contracts;

namespace CoreGallery.Storage.fs
{
    public class FileSystemAlbum : IAlbum
    {
        private Guid _id;
        private List<FileSystemAlbum> _subAlbums = new List<FileSystemAlbum>();
        private string _name, _description, _location;

        #region IAlbum Members

        public Guid UniqueId
        {
            get { return _id; }
        }

        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
            }
        }

        public string Description
        {
            get
            {
                return _description;
            }
            set
            {
                _description = value;
            }
        }

        public string Location
        {
            get
            {
                return _location;
            }
            set
            {
                _location = value;
            }
        }

        public IList<IAlbum> SubAlbums
        {
            get { return (IList<IAlbum>)_subAlbums; }
        }

        #endregion
    }
}
